/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package BackEnd;

/**
 *
 * @author Ivan
 */
public class Post {

    private ContentIndex contentIndex;
    private ContentPage contentPage;
    private int peso;

    public Post(ContentIndex contentIndex, ContentPage contentPage, int peso) {
        this.contentIndex = contentIndex;
        this.contentPage = contentPage;
        this.peso = peso;
    }

    

    /**
     * @return the contentIndex
     */
    public ContentIndex getContentIndex() {
        return contentIndex;
    }

    /**
     * @param contentIndex the contentIndex to set
     */
    public void setContentIndex(ContentIndex contentIndex) {
        this.contentIndex = contentIndex;
    }

    /**
     * @return the contentPage
     */
    public ContentPage getContentPage() {
        return contentPage;
    }

    /**
     * @param contentPage the contentPage to set
     */
    public void setContentPage(ContentPage contentPage) {
        this.contentPage = contentPage;
    }

    /**
     * @return the peso
     */
    public int getPeso() {
        return peso;
    }

    /**
     * @param peso the peso to set
     */
    public void setPeso(int peso) {
        this.peso = peso;
    }

    

}
